package com.example.saiweisi.mapper.userMapper;

import com.example.saiweisi.model.Clothes;
import com.example.saiweisi.model.ClothesKindMaterial;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClothesMapper {

    List<ClothesKindMaterial> getClothesByUserId(Integer userId);
    void saveClothes(Clothes clothes);

    void setStepZero(Long clothesId);

    void setFinishAndTakeZero(Integer clothesId);

    void isbad(Integer clothesId);

    void nextstep(Integer clothesId);

    void finish(Integer clothesId);
}
